<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:fragment="loginHeader">
    <a href="index.html">
        <img class="logo_img" alt="" src="static/img/logo.gif"/>
    </a>
    <span class="wel_word"></span>
    <div th:fragment="loginRight">
        <span>欢迎<span class="um_span" th:text="${session.loginUser.username}"></span>光临尚硅谷书城</span>
        <a href="order?method=toOrderManagerPage">我的订单</a>
        <a href="user?method=doLogout">注销</a>&nbsp;&nbsp;
        <a href="index.html">返回</a>
    </div>
</div>

<div th:fragment="header(title)">
    <div class="header">
        <div class="w">
            <div class="header-left">
                <a href="index.html">
                    <img src="static/img/logo.gif" alt=""
                    /></a>
                <h1 th:text="${title}"></h1>
            </div>
            <div th:fragment="navigator">
                <div class="header-right">
                    <a href="bookManager?method=toBookManagerPage">图书管理</a>
                    <a href="order?method=toOrderManagerPage">订单管理</a>
                    <a href="index.html">返回商城</a>
                </div>
            </div>

        </div>
    </div>
</div>

</body>
</html>